cmake_minimum_required(VERSION 3.26)
project(single_link)

file(GLOB SOURCES "src/*.c" "src/*.cpp")

set(EXECUTABLE_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin)
add_executable(${PROJECT_NAME} ${SOURCES})

target_compile_options(${PROJECT_NAME} PRIVATE $<$<CONFIG:Debug>:-g3 -o0>)